<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="static/css/pintuer.css">
<link rel="stylesheet" href="static/css/admin.css">
<script src="static/js/jquery.js"></script>
<script src="static/js/pintuer.js"></script>
<link rel="stylesheet" href="layui/css/layui.css">
<script src="layui/layui.js"></script>
</head>
<body>

	<div class="panel admin-panel margin-top">
		<div class="panel-head" id="add">
			<strong><span class="icon-pencil-square-o"></span>添加课程</strong>
		</div>
		<div class="body-content">
			<form method="post" class="form-x" action="courseInsert.do">

				<div class="form-group">
					<div class="label">
						<label>课程编号</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="number"
							   value=""  />
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label>课程名称</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="name"
							   value="" />
						<div class="tips"></div>
					</div>
				</div>

				<div class="form-group">
					<div class="label">
						<label>学时</label>
					</div>
					<div class="field">
						<input type="text" class="input w50" name="xueshi"
							   value="" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>学分</label>
					</div>
<%--				1	4--%>
					<div class="field">
						<input type="text" class="input w50" name="xuefeng"
							   value="" />
						<div class="tips"></div>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>课程类别</label>
					</div>
					<div class="field">
						<select name="type" class="input w50">
							<option value=""></option>
							<c:forEach var="type" items="${typeList}">
								<option value="${type.name}">${type.name}</option>
							</c:forEach>
						</select>
					</div>
				</div>
				<div class="form-group">
					<div class="label">
						<label>开课学期</label>
					</div>
					<div class="field">
						<select name="xueqi" class="input w50" id="xueqi">
							<option value=""></option>
							<option value="1">1</option>
							<option value="2">2</option>
						</select>
					</div>
				</div>



				<div class="form-group">
					<div class="label">
						<label></label>
					</div>
					<div class="field">
						<button class="button bg-main icon-check-square-o" type="submit">
							提交</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
